package com.example.nbb.Dao;

import com.example.nbb.Entity.NewEntity;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface NewDao {
    //获取数据库中的所有新闻
    List<NewEntity> getAll();

}
